/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Module Name          : com.yaodian100.crm.cs.entity.MustInquireAnswer
   Module Description   :

   Date Created      : 2010/1/21
   Original Author   : andy.chuang
   Team              : yaodian100
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   MODIFICATION HISTORY
   ------------------------------------------------------------------------------
   Date Modified       Modified by       Comments
   ------------------------------------------------------------------------------
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
package com.yaodian100.crm.cs.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.yaodian100.core.common.entity.BaseEntity;
import com.yaodian100.core.common.entity.CommonEntity;

/**
 * @author andy.chuang
 *
 */
@Entity
@Table(name="CRM_CS_MIA")
public class MustInquireAnswer extends CommonEntity{
    /**
     * 
     */
    private static final long serialVersionUID = -4767810098967553733L;
    private Long id;
    private MustInquire mustInquire;
    private String description;
    /**
     * @return the id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO, generator = "seq_mia")
    @SequenceGenerator(name = "seq_mia", sequenceName = "SEQ_MIA")
    public Long getId() {
        return id;
    }
    /**
     * @param id the id to set
     */
    public void setId(Long id) {
        this.id = id;
    }
    /**
     * @return the mustInquire
     */
    @ManyToOne
    public MustInquire getMustInquire() {
        return mustInquire;
    }
    /**
     * @param mustInquire the mustInquire to set
     */
    public void setMustInquire(MustInquire mustInquire) {
        this.mustInquire = mustInquire;
    }
    /**
     * @return the description
     */
    @Column(length=20)
    public String getDescription() {
        return description;
    }
    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }
}
